<!doctype html>
<html lang="ch">
<head>
  <meta charset="UTF-8">
  <meta name="viewport"
        content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <style>
    * {
      padding: 0;
      margin: 0;
    }

    .button-container {
      display: flex;
      justify-content: center;
      margin-top: 20px;
    }

    .controller {
      height: 40px;
      width: 80px;
      border: none;
      background-color: cadetblue;
      border-radius: 15px;
    }

    canvas {
      background: #eee;
      display: block;
      margin: 0 auto;
    }
  </style>
  <title>Document</title>
</head>
<body>
<canvas id="myCanvas" width="480" height="320"></canvas>
<div class="button-container">
  <button class="controller" onclick=reload()>reload</button>
</div>
<script src="main.js"></script>
</body>
</html>